package org.opens.service;

import org.opens.entity.EduClass;

import java.util.List;
import java.util.Map;

/**
 * @Date 2020/12/30 21:20
 * @Created by 99126
 */
public interface EduClassService {

    public EduClass insertAndReturnPK(EduClass eduClass);

    public EduClass insertAndReturnPKUseSelectKey(EduClass eduClass);

    public EduClass findByIdUseIndexParam(Integer id);

    public EduClass findByIdUseIndexParamAlias(Integer id);

    public EduClass findByIdUseParamName(Integer id);

    public EduClass findOneToOne(Integer id);

    public EduClass findOneToMany(Integer id);

    public EduClass findByIdUseProcedure(EduClass eduClass);

    public List<EduClass> pageUseProcedure(Map<String, Object> param);

    public int deleteUseProcedure(Integer classId);

    public int insertUseProcedure(EduClass eduClass);

}
